package cc.rengu.igas.channel.alipay.common.constant;

import java.io.Serializable;

/**
 * 一体化收单配置文件常量定义
 * Created by 王成 on 2018/6/28.
 */
public class AlipayConfigConstant implements Serializable {
    /* ---------------------------------数据库连接池配置--------------------------------- */
    public static final String DATABASE_CONF_NODE = "database";
    /* 联机交易库连接池名称 */
    public static final String OLTP_POOL_NAME = "oltpPoolName";
    /* 商户管理库连接池名称 */
    public static final String MCMP_POOL_NAME = "mcmpPoolName";
    /* 清分清算库连接池名称 */
    public static final String CSMC_POOL_NAME = "csmcPoolName";


    /* ---------------------------------支付宝请求配置--------------------------------- */
    public static final String ALIPAY_CONF_NODE = "aliPay";
    public static final String CUPS_ALIPAY_CONF_NODE = "cupsAliPay";
    public static final String NUCC_ALIPAY_CONF_NODE = "nuccAliPay";
    public static final String NUCC_CONF_NODE = "nucc";
    /* 支付请求URL */
    public static final String ALIPAY_PAY_URL = "aliPayUrl";
    /*支付直连专线请求URL*/
    public static final String ALIPAY_PAY_ZX_URL = "aliPayZXUrl";
    /*支付直连互联请求URL*/
    public static final String ALIPAY_PAY_NET_URL = "aliPayNETUrl";
    /* 专线代理ip */
    public static final String ALIPAY_PROXY_ZX_IP = "proxyZXIp";
    /* 专线代理端口 */
    public static final String ALIPAY_PROXY_ZX_PORT = "proxyZXPort";
    /* 互联网代理ip */
    public static final String ALIPAY_PROXY_NET_IP = "proxyNETIp";
    /* 互联网代理端口 */
    public static final String ALIPAY_PROXY_NET_PORT = "proxyNETPort";
    /*支付宝专线和互联网切换开关*/
    public static final String ALIPAY_SWITCH_FLAG = "aliPaySwitchFlag";
    /* 支付结果通知地址 */
    public static final String ALIPAY_NOTICE_URL = "notifyUrl";
    /* 商户风险查询URL */
    public static final String ALIPAY_MCHNT_RISK_URL = "mchntRiskUrl";
    /* 商户风险查询URL */
    public static final String ALIPAY_AUTH_CODE_URL = "authCodeUrl";
    /* 商户应用授权URL */
    public static final String MCHNT_APP_AUTH_CODE_URL = "mchntAppAuthCodeUrl";
    /* 支付宝版本号 */
    public static final String ALIPAY_VERSION = "version";
    /* 加签算法 */
    public static final String ALIPAY_ALGORITHM = "algorithm";
    /* 字符集编码 */
    public static final String ALIPAY_CHARSET = "charset";
    /* 加签类型 */
    public static final String ALIPAY_SIGN_TYPE = "signType";
    /* 报文类型 */
    public static final String ALIPAY_MSG_TYPE = "msgType";
    /* 转接通道标识 */
    public static final String ALIPAY_CHANNEL_FALG = "aliPayTunlFlag";
    /* 机构域名 */
    public static final String INST_HOST_URL = "INST_HOST_URL";
    /* 新旧版本标志 */
    public static final String IS_NEW_VERSION = "isNewVersion";
    /* 代理ip */
    public static final String ALIPAY_PROXY_IP = "proxyIp";
    /* 代理端口 */
    public static final String ALIPAY_PROXY_PORT = "proxyPort";

    /* ---------------------------------内存数据库配置--------------------------------- */
    public static final String REDIS_CONF_NODE = "redis";
    /* 最大分配的对象数 */
    public static final String REDIS_MAX_TOTAL = "maxTotal";
    /* 最大能够保持idle状态的对象数 */
    public static final String REDIS_MAX_IDLE = "maxIdle";
    /* 最大等待时间 */
    public static final String REDIS_MAX_WAIT_TIME = "maxWaitMillis";
    /* Borrow有效性检查标志 */
    public static final String REDIS_TEST_ON_BORROW = "testOnBorrow";
    /* Return有效性检查标志 */
    public static final String REDIS_TEST_ON_RETURN = "testOnReturn";
    /* 服务器地址 */
    public static final String REDIS_HOST = "host";
    /* 服务器端口 */
    public static final String REDIS_PORT = "port";
    /* 超时时间 */
    public static final String REDIS_TIME_OUT = "timeOut";
    /* 密码 */
    public static final String REDIS_PASSWORD = "password";
    /* 数据库编号 */
    public static final String REDIS_DATABASE = "database";

    /*dubbo配置节点*/
    public static final String UPAL_CONF_NODE = "_UPAL_DUBBO";
    /*bean名称*/
    public static final String BEAN_NAME = "beanName";
    /*方法*/
    public static final String METHOD_NAME = "methodName";
    /*request对象*/
    public static final String REQUEST_CLASS_NAME = "reqClassName";
    /*response对象*/
    public static final String RESPONSE_CLASS_NAME = "resClassName";
    /* 网联支付宝交易地址 */
    public static final String NUCC_ALIPAY_URL_CONF_NODE = "nuccAlipayUrl";
    /* idc查询间隔 */
    public static final String IDC_QUERY_TIME = "idcQueryTime";
}
